package com.ajaaxx.datatypes;

public class Question {

	private int questionId;
	private String questionString;
	private int subjectId;
	private String userType;
	private int rating;
	
	
	public int getQuestionId() {
		return questionId;
	}
	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}
	
	public int getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(int subjectId) {
		this.subjectId = subjectId;
	}
	public int getRating() {
		return rating;
	}
	public void setRating(int rating) {
		this.rating = rating;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public String getQuestionString() {
		return questionString;
	}
	public void setQuestionString(String questionString) {
		this.questionString = questionString;
	}
	@Override
	public String toString() {
		StringBuffer buff = new StringBuffer();
		buff.append("    questionId        :"+questionId+"\n");
		buff.append("    questionString    :"+questionString+"\n");
		buff.append("    subjectId         :"+subjectId+"\n");
		buff.append("    userType          :"+userType+"\n");
		buff.append("    rating            :"+rating+"\n");
		return buff.toString();
	}
	
	
}
